package com.woniuxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author wenlei
 * @ClassName ExamPublishexam
 * @Description 考试实体类
 * @date 2022/5/4 15:56
 **/

public class ExamPublishexam {

    private int id;
    private String examEname;
    private Date examTime;
    private int examAnserTime;
    private String examExplain;
    private int examPaper;//
    private int examLimit;
    private String creator;
    private String createTime;
    private String updater;
    private String updateTime;
    private int isDeleted;
    private int passscore;
    private int count;//计算出来的人数
    private List<ExamineeInformation> examineeInformations;
    private List<ExamJoinInfo> examJoinInfo;
    private List<PaperAttribute> paperAttributes;
    private int sum;//表中没有的字段  通过计算出来
    private String category;//表中没有得字段
    private List<Integer> ids;//前端传到后端id集合

    String examPaperName;//试卷
    int isExam;//是否考试

    public ExamPublishexam() {
    }

    @Override
    public String toString() {
        return "ExamPublishexam{" +
                "id=" + id +
                ", examEname='" + examEname + '\'' +
                ", examTime=" + examTime +
                ", examAnserTime=" + examAnserTime +
                ", examExplain='" + examExplain + '\'' +
                ", examPaper=" + examPaper +
                ", examLimit=" + examLimit +
                ", creator='" + creator + '\'' +
                ", createTime='" + createTime + '\'' +
                ", updater='" + updater + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", isDeleted=" + isDeleted +
                ", passscore=" + passscore +
                ", count=" + count +
                ", examineeInformations=" + examineeInformations +
                ", examJoinInfo=" + examJoinInfo +
                ", paperAttributes=" + paperAttributes +
                ", sum=" + sum +
                ", category='" + category + '\'' +
                ", ids=" + ids +
                ", examPaperName='" + examPaperName + '\'' +
                ", isExam=" + isExam +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getExamEname() {
        return examEname;
    }

    public void setExamEname(String examEname) {
        this.examEname = examEname;
    }

    public Date getExamTime() {
        return examTime;
    }

    public void setExamTime(Date examTime) {
        this.examTime = examTime;
    }

    public int getExamAnserTime() {
        return examAnserTime;
    }

    public void setExamAnserTime(int examAnserTime) {
        this.examAnserTime = examAnserTime;
    }

    public String getExamExplain() {
        return examExplain;
    }

    public void setExamExplain(String examExplain) {
        this.examExplain = examExplain;
    }

    public int getExamPaper() {
        return examPaper;
    }

    public void setExamPaper(int examPaper) {
        this.examPaper = examPaper;
    }

    public int getExamLimit() {
        return examLimit;
    }

    public void setExamLimit(int examLimit) {
        this.examLimit = examLimit;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public int getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(int isDeleted) {
        this.isDeleted = isDeleted;
    }

    public int getPassscore() {
        return passscore;
    }

    public void setPassscore(int passscore) {
        this.passscore = passscore;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<ExamineeInformation> getExamineeInformations() {
        return examineeInformations;
    }

    public void setExamineeInformations(List<ExamineeInformation> examineeInformations) {
        this.examineeInformations = examineeInformations;
    }

    public List<ExamJoinInfo> getExamJoinInfo() {
        return examJoinInfo;
    }

    public void setExamJoinInfo(List<ExamJoinInfo> examJoinInfo) {
        this.examJoinInfo = examJoinInfo;
    }

    public List<PaperAttribute> getPaperAttributes() {
        return paperAttributes;
    }

    public void setPaperAttributes(List<PaperAttribute> paperAttributes) {
        this.paperAttributes = paperAttributes;
    }

    public int getSum() {
        return sum;
    }

    public void setSum(int sum) {
        this.sum = sum;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public List<Integer> getIds() {
        return ids;
    }

    public void setIds(List<Integer> ids) {
        this.ids = ids;
    }

    public String getExamPaperName() {
        return examPaperName;
    }

    public void setExamPaperName(String examPaperName) {
        this.examPaperName = examPaperName;
    }

    public int getIsExam() {
        return isExam;
    }

    public void setIsExam(int isExam) {
        this.isExam = isExam;
    }

    public ExamPublishexam(int id, String examEname, Date examTime, int examAnserTime, String examExplain, int examPaper, int examLimit, String creator, String createTime, String updater, String updateTime, int isDeleted, int passscore, int count, List<ExamineeInformation> examineeInformations, List<ExamJoinInfo> examJoinInfo, List<PaperAttribute> paperAttributes, int sum, String category, List<Integer> ids, String examPaperName, int isExam) {
        this.id = id;
        this.examEname = examEname;
        this.examTime = examTime;
        this.examAnserTime = examAnserTime;
        this.examExplain = examExplain;
        this.examPaper = examPaper;
        this.examLimit = examLimit;
        this.creator = creator;
        this.createTime = createTime;
        this.updater = updater;
        this.updateTime = updateTime;
        this.isDeleted = isDeleted;
        this.passscore = passscore;
        this.count = count;
        this.examineeInformations = examineeInformations;
        this.examJoinInfo = examJoinInfo;
        this.paperAttributes = paperAttributes;
        this.sum = sum;
        this.category = category;
        this.ids = ids;
        this.examPaperName = examPaperName;
        this.isExam = isExam;
    }
}
